
function dropdown(dd)
{if(dd!=''){
$("#txtLanguage").removeAttr("disabled");
$(function() {
    $( "#txtLanguage" ).autocomplete({
        source: "candidates/data/"+dd,
        minLength: 1
    });
});
}
}


function jdOrg(jd)
{
	var div = document.getElementById('attributevalues');

	// remove all child nodes
	while (div.hasChildNodes()) { 
	    div.removeChild(div.lastChild); 
	} 
	// remove all child nodes
	
	 $.ajax({
	   	  type: "POST",
	   	  url: '/candidates/clientattributes',
	       	data: { jdTitle : jd },
	       
	         }).done(function( html ) {
	              $("#attributevalues").append(html);

	          });
}
